<tr>
    <td>
        <span class="label label-default">{$talk['talk_id']}</span>
        {if $talk['talk_type'] == 1}{if $talk['talk_did']=='2'}<span class="label label-success">置顶</span>{/if}{/if}
    </td>

    <td style="text-align: center">
        {if $talk['talk_type'] == 1}
        <img style="width:60px;height:60px;" src="{MODULE_URL}template/public/img/guanfang.png"/>
        {else}
        <img style="width:60px;height:60px;border-radius:50%;" src="{php echo getavatar($_W['uniacid'],$talk['openid']);}"/>
        {/if}
        <br/>
        {if $talk['talk_type'] == 1}
        官方
        {else}
        {php echo getnickname($_W['uniacid'],$talk['openid']);}
        {/if}
    </td>

    <td>{$talk['talk_title']}</td>

    <td onclick="alert('{$talk['talk_content']}');">{$talk['talk_content']}</td>

    <td>
        {loop getpicture($_W['uniacid'],$talk['talk_id'],'talk') $key $picture}
        <img style="width:40px;height:40px;" src="{$_W['attachurl']}{$picture}"/>
        {/loop}
    </td>

    <td>
        {php echo date('Y-m-d H:i:s',$talk['talk_time']);}<br/>
    </td>

    <td>

        {if $talk['talk_type'] == 1}
        <a class="btn btn-default" href="{php echo $this->createwebUrl('talk',array('op'=>'talk_post','talk_id'=>$talk['talk_id']));}" role="button" title="编辑">
            <i class="fa fa-pencil fa-fw"></i>
        </a>{else} {/if}

        <a class="btn btn-default" href="{php echo $this->createWebUrl('talk',array('op'=>'talk_pinglun','talk_id'=>$talk['talk_id']));}" role="button" title="查看评论列表">
            <i class="fa fa-search fa-fw"></i>
        </a>

        <a onclick="delcfm()" class="btn btn-default" href="{php echo $this->createwebUrl('talk',array('op'=>'talk_delete','talk_id'=>$talk['talk_id']));}" role="button" title="删除">
            <i class="fa fa-trash-o fa-fw"></i>
        </a>
    </td>
<tr>